Contents | Index | < Browse | Browse >

LETTERfputcULETTER Puts a character into a file.

Overview
#include <stdio.h>

r = fputc(c,f)

int r;
int c;
FILE *f;

Portability
ANSI

Description
"fputc" writes the character "c" into the file "f".

Returns
If an error occurs, "EOF" is returned, otherwise the character written.